package org.feifei.org.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.feifei.basic.domain.BaseDomain;

import javax.xml.crypto.Data;
import java.util.Date;

/**
 * 实体类 Shop
 */
@lombok.Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Getter
@Setter
@EqualsAndHashCode
public class Shop extends BaseDomain {

    private static final long serialVersionUID = -5384362224170801941L;
    @ApiModelProperty("店铺名称")
    private  String name; // 店铺名称
    @ApiModelProperty("店铺电话")
    private  String tel; // 电话
    @ApiModelProperty("店铺入住时间")
    private Date registerTime = new Date(); // 注册时间
    @ApiModelProperty("状态 -1禁用 0待审核 1启用 2待验证")
    private  Integer state = 0; // 状态 0禁用 1启用
    @ApiModelProperty("地址")
    private  String address;
    @ApiModelProperty("店铺logo")
    private  String logo;
    @ApiModelProperty("管理员id")
    private  Long admin_id;
    @ApiModelProperty("店铺相关管理员")
    private Employee admin;
}
